package com.dw.eboxcore.panel;

import android.content.Context;
import android.util.AttributeSet;
import android.widget.FrameLayout;

import androidx.annotation.NonNull;
import androidx.annotation.Nullable;

import com.dw.eboxcore.player.IPlayer;

/**
 * 日期：2022/5/18
 * <p>
 * 作者：dlcxy
 * <p>
 * 描述：一个抽像的控制面板UI
 */
public abstract class AbstractPanel extends FrameLayout implements IPanel {

    public AbstractPanel(@NonNull Context context) {
        super(context);
    }

    public AbstractPanel(@NonNull Context context, @Nullable AttributeSet attrs) {
        super(context, attrs);
    }

    public AbstractPanel(@NonNull Context context, @Nullable AttributeSet attrs, int defStyleAttr) {
        super(context, attrs, defStyleAttr);
    }

    @Override
    public abstract void setPlayer(IPlayer player);
}
